<%--
  Created by IntelliJ IDEA.
  User: chao
  Date: 2020/2/21
  Time: 15:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <title>BMS 图书管理系统</title>
        <link rel="stylesheet" href="/layui/css/layui.css">
    </head>
    <body class="layui-layout-body">
        <div class="layui-layout layui-layout-admin">
            <div class="layui-header">
                <div class="layui-logo">BMS</div>
                <!-- 头部区域（可配合layui已有的水平导航） -->

                <ul class="layui-nav layui-layout-right">
                    <li class="layui-nav-item">
                        <a href="javascript:;">
                            <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                            贤心
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="">基本资料</a></dd>
                            <dd><a href="">安全设置</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item"><a href="">退了</a></li>
                </ul>
            </div>

            <div class="layui-side layui-bg-black">
                <div class="layui-side-scroll">
                    <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                    <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                        <li class="layui-nav-item layui-nav-itemed">
                            <a class="" href="javascript:;">用户管理</a>
                            <dl class="layui-nav-child">
                                <%-- 将list接口返回的视图，放入iframe框架 --%>
                                <dd><a href="/list" target="content">用户列表</a></dd>

                            </dl>
                        </li>

                    </ul>
                </div>
            </div>

            <div class="layui-body">
                <!-- 内容主体区域 -->
                <div style="padding:15px;height: calc(100% - 30px)">

                    <%-- iframe 引入页面 --%>
                    <iframe id="content" name="content" src="/welcome" width="100%" height="100%" frameborder="0"></iframe>

                </div>
            </div>

            <div class="layui-footer">
                <!-- 底部固定区域 -->
                © rimi.luc - 版权所有，翻版必究
            </div>
        </div>
        <script src="/layui/layui.js"></script>
        <script>
            //JavaScript代码区域
            layui.use('element', function(){
                var element = layui.element;

            });
        </script>
    </body>
</html>
